package com.offen.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.offen.entity.Course;
import com.offen.mapper.CourseMapper;
import com.offen.service.ICourseService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.lang.model.element.QualifiedNameable;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author lishucai
 * @since 2022-06-18
 */
@Service
public class CourseServiceImpl extends ServiceImpl<CourseMapper, Course> implements ICourseService {

    @Override
    public Wrapper<Course> update2(Integer id) {
        QueryWrapper<Course> objectQueryWrapper = new QueryWrapper<>();
            objectQueryWrapper.eq("id", id);
           return objectQueryWrapper;
    }
}




